<template>
  <div class="app">
    <div class="HomeHeader">
      <div class="drugtitleinfo1">
        <p class="drugwenzi">总销售额</p>
        <p class="drug_headernumber">10000000</p>
        <div class="compare">
          <div class="headertext">
            <p> 较上月：</p>
            <p style="margin-left: -35px;">
              22.56%
            </p>
            <el-icon class="changeicon"><el-icon-top /></el-icon>
          </div>
          <div class="headertext">
            <p>较去年同期：</p>
            <p style="margin-left: -60px;">23.66%</p>
            <el-icon class="changeicon"><el-icon-bottom /></el-icon>
          </div>
          <div class="headerright">
            <headercategory1 :id="id = 'headercategory1'" />
          </div>
        </div>
      </div>
      <div class="drugtitleinfo1">
        <p class="drugwenzi">总销售额</p>
        <p class="drug_headernumber">10000000</p>
        <div class="compare">
          <div class="headertext">
            <p> 较上月：</p>
            <p style="margin-left: -30px;">
              22.56%
            </p>
            <el-icon class="changeicon"><el-icon-top /></el-icon>
          </div>
          <div class="headertext">
            <p>较去年同期：</p>
            <p style="margin-left: -50px;">23.66%</p>
            <el-icon class="changeicon"><el-icon-bottom /></el-icon>
          </div>
          <div class="headerright">
            <headercategory2 :id="id = 'headercategory2'" />
          </div>
        </div>
      </div>
      <div class="drugtitleinfo1">
        <p class="drugwenzi">总销售额</p>
        <p class="drug_headernumber">10000000</p>
        <div class="compare">
          <div class="headertext">
            <p> 较上月：</p>
            <p style="margin-left: -30px;">
              22.56%
            </p>
            <el-icon class="changeicon"><el-icon-top /></el-icon>
          </div>
          <div class="headertext">
            <p>较去年同期：</p>
            <p style="margin-left: -50px;">23.66%</p>
            <el-icon class="changeicon"><el-icon-bottom /></el-icon>
          </div>
          <div class="headerright">
            <headercategory3 :id="id = 'headercategory3'" />
          </div>
        </div>
      </div>
      <div class="drugtitleinfo1">
        <p class="drugwenzi">总销售额</p>
        <p class="drug_headernumber">10000000</p>
        <div class="compare">
          <div class="headertext">
            <p> 较上月：</p>
            <p style="margin-left: -30px;">
              22.56%
            </p>
            <el-icon class="changeicon"><el-icon-top /></el-icon>
          </div>
          <div class="headertext">
            <p>较去年同期：</p>
            <p style="margin-left: -50px;">23.66%</p>
            <el-icon class="changeicon"><el-icon-bottom /></el-icon>
          </div>
          <div class="headerright">
            <headercategory4 :id="id = 'headercategory4'" />
          </div>
        </div>
      </div>
      <div class="drugtitleinfo1">
        <p class="drugwenzi">总销售额</p>
        <p class="drug_headernumber">10000000</p>
        <div class="compare">
          <div class="headertext">
            <p> 较上月：</p>
            <p style="margin-left: -30px;">
              22.56%
            </p>
            <el-icon class="changeicon"><el-icon-top /></el-icon>
          </div>
          <div class="headertext">
            <p>较去年同期：</p>
            <p style="margin-left: -50px;">23.66%</p>
            <el-icon class="changeicon"><el-icon-bottom /></el-icon>
          </div>
          <div class="headerright">
            <headercategory5 :id="id = 'headercategory5'" />
          </div>
        </div>
      </div>
      <div class="drugtitleinfo1">
        <p class="drugwenzi">总销售额</p>
        <p class="drug_headernumber">10000000</p>
        <div class="compare">
          <div class="headertext">
            <p> 较上月：</p>
            <p style="margin-left: -30px;">
              22.56%
            </p>
            <el-icon class="changeicon"><el-icon-top /></el-icon>
          </div>
          <div class="headertext">
            <p>较去年同期：</p>
            <p style="margin-left: -50px;">23.66%</p>
            <el-icon class="changeicon"><el-icon-bottom /></el-icon>
          </div>
          <div class="headerright">
            <headercategory6 :id="id = 'headercategory6'" />
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
import headercategory1 from "../view/headercategory1.vue";
import headercategory2 from "../view/headercategory2.vue";
import headercategory3 from "../view/headercategory3.vue";
import headercategory4 from "../view/headercategory4.vue";
import headercategory5 from "../view/headercategory5.vue";
import headercategory6 from "../view/headercategory6.vue";
export default {
  components: {
    headercategory1,
    headercategory2,
    headercategory3,
    headercategory4,
    headercategory5,
    headercategory6
  },
  name: 'minivab',
  data() {
    return {
      trendValue: 4.6
    }
  },
  mounted() {

  },
  methods: {
  }
}
</script>
<style>
.app {
  margin: 0;
}

.HomeHeader {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.drugtitleinfo1 {
  border: 1px solid rgb(228, 228, 228);
  display: flex;
  flex-direction: column;
  height: 110px;
  width: 230px;
  margin-top: 5px;
  margin-left: 5px;
  margin-right: 5px;
  background-color: #fff;
}

.drugwenzi {
  margin-left: 5px;
  font-size: 10px
}

.compare {
  margin-top: -15px;
  margin-left: 5px;
}

.headertext {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 238px;
  font-size: 5px;
  margin-left: -43px;
}

.changeicon {
  font-size: 15px;
  margin-left: -80PX;
  margin-top: 3PX;
}

.headerright {
  width: 70px;
  margin-top: -100px;
  margin-left: 150px;
}

.inforight {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 40px;
  margin-left: 10px
}

.drug_headernumber {
  font-size: 17px;
  width: 10px;
  margin-top: -5px;
  margin-left: 15px
}
</style>